package com.codebattery.domain.model;

import com.codebattery.domain.entity.Node;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class NodeInfo {

    private List<NodeTreeEle> nodes;   //节点

    private Map<String, GroupInfo>groups = new HashMap<String, GroupInfo>();   //组

    public List<NodeTreeEle> getNodes() {
        return nodes;
    }

    public void setNodes(List<NodeTreeEle> nodes) {
        this.nodes = nodes;
    }

    public Map<String, GroupInfo> getGroups() {
        return groups;
    }

    public void setGroups(Map<String, GroupInfo> groups) {
        this.groups = groups;
    }
}
